curl --request POST \
--url https://metadata.sequence.app/rpc/Metadata/TokenCollectionFilters \
--header 'Content-Type: application/json' \
--header 'X-Access-Key: <api-key>' \
--data '{
"chainId": "80002",
"contractAddress": "0x70a2177079877e4aae639d1abb29ffa537b94970"
}'
{
"filters": [
{
"name": "Rarity",
"type": "STRING",
"min": null,
"max": null,
"values": [
"Rare"
]
},
{
"name": "Type",
"type": "STRING",
"min": null,
"max": null,
"values": [
"Knife"
]
},
{
"name": "Model",
"type": "STRING",
"min": null,
"max": null,
"values": [
"Butterfly"
]
},
{
"name": "Condition",
"type": "STRING",
"min": null,
"max": null,
"values": [
"Slightly Used (SU)"
]
}
]
}
curl --request POST \
--url https://metadata.sequence.app/rpc/Metadata/TokenCollectionFilters \
--header 'Content-Type: application/json' \
--header 'X-Access-Key: <api-key>' \
--data '{
"chainId": "80002",
"contractAddress": "0x70a2177079877e4aae639d1abb29ffa537b94970"
}'
{
"filters": [
{
"name": "Rarity",
"type": "STRING",
"min": null,
"max": null,
"values": [
"Rare"
]
},
{
"name": "Type",
"type": "STRING",
"min": null,
"max": null,
"values": [
"Knife"
]
},
{
"name": "Model",
"type": "STRING",
"min": null,
"max": null,
"values": [
"Butterfly"
]
},
{
"name": "Condition",
"type": "STRING",
"min": null,
"max": null,
"values": [
"Slightly Used (SU)"
]
}
]
}
Public project access key for authenticating requests obtained on Sequence Builder. Example Test Key: AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI
OK
The response is of type object
.
Was this page helpful?